package com.act.service.api;

import com.act.domain.CustomsManagement;
import com.act.dto.PagerDTO;
import com.act.vo.PagerVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

//费用报单
public interface ICustomsManagementService {
	
	//根据type 根据payee 根据收款人:查询条件是收款人的名字
	PagerVo<Map> getAllByTypeOrPayyee(@Param("type")String type,@Param("payee")String payee,@Param("pagerDTO")PagerDTO pagerDTO);
	
	//添加一笔报单
	void add(CustomsManagement customsManagement);
	
	//删除
	void delete(int id);
	//修改
	void update(CustomsManagement customsManagement);
	
	//根据报单信息
	CustomsManagement getCustomsById(@Param("id")int id);
	
	//获取全部报单信息 
	PagerVo<Map> getAll(@Param("pagerDTO")PagerDTO pagerDTO);
}
